Optimal. Leaf size=73 \[ -\frac{\sqrt{3 x^2+2} (x+8)}{2 (2 x+3)}+\frac{19 \tanh ^{-1}\left (\frac{4-9 x}{\sqrt{35} \sqrt{3 x^2+2}}\right )}{\sqrt{35}}+2 \sqrt{3} \sinh ^{-1}\left (\sqrt{\frac{3}{2}} x\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0430619, antiderivative size = 73, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.208, Rules used = {813, 844, 215, 725, 206} \[ -\frac{\sqrt{3 x^2+2} (x+8)}{2 (2 x+3)}+\frac{19 \tanh ^{-1}\left (\frac{4-9 x}{\sqrt{35} \sqrt{3 x^2+2}}\right )}{\sqrt{35}}+2 \sqrt{3} \sinh ^{-1}\left (\sqrt{\frac{3}{2}} x\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 813
Rule 844
Rule 215
Rule 725
Rule 206
Rubi steps
\begin{align*} \int \frac{(5-x) \sqrt{2+3 x^2}}{(3+2 x)^2} \, dx &=-\frac{(8+x) \sqrt{2+3 x^2}}{2 (3+2 x)}-\frac{1}{8} \int \frac{8-96 x}{(3+2 x) \sqrt{2+3 x^2}} \, dx\\ &=-\frac{(8+x) \sqrt{2+3 x^2}}{2 (3+2 x)}+6 \int \frac{1}{\sqrt{2+3 x^2}} \, dx-19 \int \frac{1}{(3+2 x) \sqrt{2+3 x^2}} \, dx\\ &=-\frac{(8+x) \sqrt{2+3 x^2}}{2 (3+2 x)}+2 \sqrt{3} \sinh ^{-1}\left (\sqrt{\frac{3}{2}} x\right )+19 \operatorname{Subst}\left (\int \frac{1}{35-x^2} \, dx,x,\frac{4-9 x}{\sqrt{2+3 x^2}}\right )\\ &=-\frac{(8+x) \sqrt{2+3 x^2}}{2 (3+2 x)}+2 \sqrt{3} \sinh ^{-1}\left (\sqrt{\frac{3}{2}} x\right )+\frac{19 \tanh ^{-1}\left (\frac{4-9 x}{\sqrt{35} \sqrt{2+3 x^2}}\right )}{\sqrt{35}}\\ \end{align*}
Mathematica [A] time = 0.092543, size = 71, normalized size = 0.97 \[ -\frac{\sqrt{3 x^2+2} (x+8)}{4 x+6}+\frac{19 \tanh ^{-1}\left (\frac{4-9 x}{\sqrt{35} \sqrt{3 x^2+2}}\right )}{\sqrt{35}}+2 \sqrt{3} \sinh ^{-1}\left (\sqrt{\frac{3}{2}} x\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.01, size = 98, normalized size = 1.3 \begin{align*} -{\frac{19}{35}\sqrt{12\, \left ( x+3/2 \right ) ^{2}-36\,x-19}}+2\,{\it Arcsinh} \left ( 1/2\,x\sqrt{6} \right ) \sqrt{3}+{\frac{19\,\sqrt{35}}{35}{\it Artanh} \left ({\frac{ \left ( 8-18\,x \right ) \sqrt{35}}{35}{\frac{1}{\sqrt{12\, \left ( x+3/2 \right ) ^{2}-36\,x-19}}}} \right ) }-{\frac{13}{70} \left ( 3\, \left ( x+3/2 \right ) ^{2}-9\,x-{\frac{19}{4}} \right ) ^{{\frac{3}{2}}} \left ( x+{\frac{3}{2}} \right ) ^{-1}}+{\frac{39\,x}{70}\sqrt{3\, \left ( x+3/2 \right ) ^{2}-9\,x-{\frac{19}{4}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.51104, size = 103, normalized size = 1.41 \begin{align*} 2 \, \sqrt{3} \operatorname{arsinh}\left (\frac{1}{2} \, \sqrt{6} x\right ) - \frac{19}{35} \, \sqrt{35} \operatorname{arsinh}\left (\frac{3 \, \sqrt{6} x}{2 \,{\left | 2 \, x + 3 \right |}} - \frac{2 \, \sqrt{6}}{3 \,{\left | 2 \, x + 3 \right |}}\right ) - \frac{1}{4} \, \sqrt{3 \, x^{2} + 2} - \frac{13 \, \sqrt{3 \, x^{2} + 2}}{4 \,{\left (2 \, x + 3\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.26792, size = 294, normalized size = 4.03 \begin{align*} \frac{70 \, \sqrt{3}{\left (2 \, x + 3\right )} \log \left (-\sqrt{3} \sqrt{3 \, x^{2} + 2} x - 3 \, x^{2} - 1\right ) + 19 \, \sqrt{35}{\left (2 \, x + 3\right )} \log \left (\frac{\sqrt{35} \sqrt{3 \, x^{2} + 2}{\left (9 \, x - 4\right )} - 93 \, x^{2} + 36 \, x - 43}{4 \, x^{2} + 12 \, x + 9}\right ) - 35 \, \sqrt{3 \, x^{2} + 2}{\left (x + 8\right )}}{70 \,{\left (2 \, x + 3\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} - \int - \frac{5 \sqrt{3 x^{2} + 2}}{4 x^{2} + 12 x + 9}\, dx - \int \frac{x \sqrt{3 x^{2} + 2}}{4 x^{2} + 12 x + 9}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.54464, size = 385, normalized size = 5.27 \begin{align*} \frac{19}{35} \, \sqrt{35} \log \left (\sqrt{35}{\left (\sqrt{-\frac{18}{2 \, x + 3} + \frac{35}{{\left (2 \, x + 3\right )}^{2}} + 3} + \frac{\sqrt{35}}{2 \, x + 3}\right )} - 9\right ) \mathrm{sgn}\left (\frac{1}{2 \, x + 3}\right ) - 2 \, \sqrt{3} \log \left (\frac{{\left | -2 \, \sqrt{3} + 2 \, \sqrt{-\frac{18}{2 \, x + 3} + \frac{35}{{\left (2 \, x + 3\right )}^{2}} + 3} + \frac{2 \, \sqrt{35}}{2 \, x + 3} \right |}}{2 \,{\left (\sqrt{3} + \sqrt{-\frac{18}{2 \, x + 3} + \frac{35}{{\left (2 \, x + 3\right )}^{2}} + 3} + \frac{\sqrt{35}}{2 \, x + 3}\right )}}\right ) \mathrm{sgn}\left (\frac{1}{2 \, x + 3}\right ) - \frac{13}{8} \, \sqrt{-\frac{18}{2 \, x + 3} + \frac{35}{{\left (2 \, x + 3\right )}^{2}} + 3} \mathrm{sgn}\left (\frac{1}{2 \, x + 3}\right ) + \frac{3 \,{\left (3 \,{\left (\sqrt{-\frac{18}{2 \, x + 3} + \frac{35}{{\left (2 \, x + 3\right )}^{2}} + 3} + \frac{\sqrt{35}}{2 \, x + 3}\right )} \mathrm{sgn}\left (\frac{1}{2 \, x + 3}\right ) - \sqrt{35} \mathrm{sgn}\left (\frac{1}{2 \, x + 3}\right )\right )}}{4 \,{\left ({\left (\sqrt{-\frac{18}{2 \, x + 3} + \frac{35}{{\left (2 \, x + 3\right )}^{2}} + 3} + \frac{\sqrt{35}}{2 \, x + 3}\right )}^{2} - 3\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]